function [ages] = corridas(n, problem, af, etha)
    k = 0;
    [r c]=size(etha);
    for i=1:c
       etha(i)
       [a b c] = simplePerceptron(n,problem,af,etha(i));
       ages(i)=b;
    end
end